<template>
  <div>
    <rule-steps></rule-steps>
    <router-view></router-view>
    <rule-footer></rule-footer>
  </div>
</template>
<script>
import RuleSteps from './components/RuleSteps.vue'
import RuleFooter from './components/RuleFooter.vue'
export default {
  name: 'TaskPage',
  components: {
    RuleSteps,
    RuleFooter
  },
  mounted () {
    // 浏览器刷新与关闭拦截
    // window.addEventListener('beforeunload', event => {
    //   event.preventDefault()
    //   event.returnValue = true
    // })
  },
  data () {
    return {
    }
  }
}
</script>
<style lang="scss" scoped>

</style>
